package com.xy.transfer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "QUERY-SERVICE")
public interface TransferFeign {

    @PostMapping("/query/in/{id}")
    Double getInAcc(@PathVariable("id") String id);

    @PostMapping("/query/out/{id}")
    Double getOutAcc(@PathVariable("id") String id);
}
